<div class="m-tab m-tab-fw m-tab-simple f-cb">
    <h2>内容编辑</h2>
</div>
<div class="n-public">
    <form class="m-form m-form-ht" id="form" method="post" onsubmit="return false;" autocomplete="off">
        <div class="fmitem">
            <label class="fmlab">标题：</label>
            <div class="fmipt">
                <input type="hidden" name="id" value="">
                <input class="u-ipt ipt" name="title" value="" placeholder="2-80字符">
            </div>
        </div>
        <div class="fmitem">
            <label class="fmlab">摘要：</label>
            <div class="fmipt">
                <input class="u-ipt ipt" name="summary" value="" placeholder="2-140字符" ／="">
            </div>
        </div>
        <div class="fmitem">
            <label class="fmlab">图片：</label>
            <div class="fmipt" id="uploadType">
                <input name="pic" type="radio" value="url" checked=""> 图片地址
                <input name="pic" type="radio" value="file"> 本地上传
            </div>
        </div>
        <div class="fmitem">
            <label class="fmlab"></label>
            <div class="fmipt" id="urlUpload">
                <input class="u-ipt ipt" name="image" placeholder="图片地址">
            </div>
            <div class="fmipt" id="fileUpload" style="display:none">
                <input class="u-ipt ipt" name="file" type="file" id="fileUp">
                <button class="u-btn u-btn-primary" id="upload">上传</button>
            </div>
        </div>
        <div class="fmitem">
            <label class="fmlab">正文：</label>
            <div class="fmipt">
                <textarea class="u-ipt" name="detail" rows="10" placeholder="2-1000个字符"></textarea>
            </div>
        </div>
        <div class="fmitem">
            <label class="fmlab">价格：</label>
            <div class="fmipt">
                <input class="u-ipt price" name="price" value="">元
            </div>
        </div>
        <div class="fmitem fmitem-nolab fmitem-btn">
            <div class="fmipt">
                <button type="button" class="u-btn u-btn-primary u-btn-lg" id="save-btn">保 存</button>
            </div>
        </div>
    </form>
    <span class="imgpre"><img src="" alt="" id="imgpre"></span>
</div>